/*
 * ImppCommandEvent.cpp
 *
 *  Created on: 04.05.2009
 *      Author: h3llfire
 */

#include "ImppCommandEvent.h"

namespace Impp {

DEFINE_EVENT_TYPE(EVT_IMPP_COMMAND)

ImppCommandEvent::ImppCommandEvent(const wxString & moduleName, const wxString & actionName, wxEventType eventType, int id) :
	wxNotifyEvent(eventType,id),
	moduleName(moduleName),
	actionName(actionName),
	buddy(NULL),
	group(NULL){}


ImppCommandEvent::~ImppCommandEvent() {
}

wxEvent* ImppCommandEvent::Clone()const{
	return new ImppCommandEvent(*this);
}

wxString ImppCommandEvent::getModuleName(){
	return moduleName;
}

wxString ImppCommandEvent::getActionName(){
	return actionName;
}

Buddy* ImppCommandEvent::getBuddy() const{
	return buddy;
}
Group* ImppCommandEvent::getGroup() const{
	return group;
}

void ImppCommandEvent::setBuddy(Buddy* buddy){
	this->buddy=buddy;
}
void ImppCommandEvent::setGroup(Group* group){
	this->group=group;
}


}
